package com.wealth.scsj.b_app.base;


import com.wealth.scsj.b_app.bean.AllClassfyBean;
import com.wealth.scsj.b_app.bean.BaseBean;
import com.wealth.scsj.b_app.bean.GoodsDetailBean;
import com.wealth.scsj.b_app.bean.QueryAllMarksBean;
import com.wealth.scsj.b_app.bean.QueryAllTerraceBean;
import com.wealth.scsj.b_app.bean.QueryShopBrandBean;

import dkmvp.net.ResponseCallback;
import okhttp3.RequestBody;
import rx.Subscription;

/**
 * 修改登录密码BASE
 */

public class AboutAddNewGoodsBase {

    public interface IView {

        //根据店铺的id进行查找店铺的品牌
        void showQueryShopBrandSuccessMsg(String s, QueryShopBrandBean queryShopBrandBean);

        //门店运营-商品管理-查询所有标签
        void showQueryAllMarksSuccessMsg(String s, QueryAllMarksBean queryAllMarksBean);

        //查询店铺下所有分类
        void showQueryAllClassfySuccessMsg(String s, AllClassfyBean allClassfyBean);

        //查询店铺下平台分类
        void showQueryAllTerraceSuccessMsg(String s, QueryAllTerraceBean queryAllTerraceBean);

        //查询商品详情
        void showQueryAllGoodsDetailSuccessMsg(String s, GoodsDetailBean goodsDetailBean);

        void showErrorMsg(String s);
    }

    public interface IPresenter {
        void deliverShopBrandData(RequestBody requestBody);

        void deliverAllMarksData(RequestBody requestBody);

        void deliverAllClassfyData(RequestBody requestBody);

        void deliverAllTerraceData(RequestBody requestBody);

        void deliberAllGoodsData(RequestBody requestBody);

    }

    public interface IModel {
        Subscription getShopBrandData(RequestBody requestBody, ResponseCallback<QueryShopBrandBean> callback);

        Subscription getAllMarksData(RequestBody requestBody, ResponseCallback<QueryAllMarksBean> callback);

        Subscription getAllClassfyData(RequestBody requestBody, ResponseCallback<AllClassfyBean> callback);

        Subscription getAllTerraceData(RequestBody requestBody, ResponseCallback<QueryAllTerraceBean> callback);

        Subscription getAllGoodsData(RequestBody requestBody, ResponseCallback<GoodsDetailBean> callback);

    }

}
